Integrand size = 26, antiderivative size = 306 \[ \int \frac {(e+f x)^2 \cosh (c+d x)}{(a+b \sinh (c+d x))^3} \, dx=\frac {a f (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^2}-\frac {a f (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^2}+\frac {f^2 \log (a+b \sinh (c+d x))}{b \left (a^2+b^2\right ) d^3}+\frac {a f^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^3}-\frac {a f^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^3}-\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2}-\frac {f (e+f x) \cosh (c+d x)}{\left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))} \]
[Out]
Time = 0.36 (sec) , antiderivative size = 306, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.346, Rules used = {5572, 3405, 3403, 2296, 2221, 2317, 2438, 2747, 31} \[ \int \frac {(e+f x)^2 \cosh (c+d x)}{(a+b \sinh (c+d x))^3} \, dx=\frac {a f^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^3 \left (a^2+b^2\right )^{3/2}}-\frac {a f^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^3 \left (a^2+b^2\right )^{3/2}}+\frac {f^2 \log (a+b \sinh (c+d x))}{b d^3 \left (a^2+b^2\right )}+\frac {a f (e+f x) \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )}{b d^2 \left (a^2+b^2\right )^{3/2}}-\frac {a f (e+f x) \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )}{b d^2 \left (a^2+b^2\right )^{3/2}}-\frac {f (e+f x) \cosh (c+d x)}{d^2 \left (a^2+b^2\right ) (a+b \sinh (c+d x))}-\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2} \]
[In]
[Out]
Rule 31
Rule 2221
Rule 2296
Rule 2317
Rule 2438
Rule 2747
Rule 3403
Rule 3405
Rule 5572
Rubi steps \begin{align*} \text {integral}& = -\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2}+\frac {f \int \frac {e+f x}{(a+b \sinh (c+d x))^2} \, dx}{b d} \\ & = -\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2}-\frac {f (e+f x) \cosh (c+d x)}{\left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}+\frac {(a f) \int \frac {e+f x}{a+b \sinh (c+d x)} \, dx}{b \left (a^2+b^2\right ) d}+\frac {f^2 \int \frac {\cosh (c+d x)}{a+b \sinh (c+d x)} \, dx}{\left (a^2+b^2\right ) d^2} \\ & = -\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2}-\frac {f (e+f x) \cosh (c+d x)}{\left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}+\frac {(2 a f) \int \frac {e^{c+d x} (e+f x)}{-b+2 a e^{c+d x}+b e^{2 (c+d x)}} \, dx}{b \left (a^2+b^2\right ) d}+\frac {f^2 \text {Subst}\left (\int \frac {1}{a+x} \, dx,x,b \sinh (c+d x)\right )}{b \left (a^2+b^2\right ) d^3} \\ & = \frac {f^2 \log (a+b \sinh (c+d x))}{b \left (a^2+b^2\right ) d^3}-\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2}-\frac {f (e+f x) \cosh (c+d x)}{\left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}+\frac {(2 a f) \int \frac {e^{c+d x} (e+f x)}{2 a-2 \sqrt {a^2+b^2}+2 b e^{c+d x}} \, dx}{\left (a^2+b^2\right )^{3/2} d}-\frac {(2 a f) \int \frac {e^{c+d x} (e+f x)}{2 a+2 \sqrt {a^2+b^2}+2 b e^{c+d x}} \, dx}{\left (a^2+b^2\right )^{3/2} d} \\ & = \frac {a f (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^2}-\frac {a f (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^2}+\frac {f^2 \log (a+b \sinh (c+d x))}{b \left (a^2+b^2\right ) d^3}-\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2}-\frac {f (e+f x) \cosh (c+d x)}{\left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}-\frac {\left (a f^2\right ) \int \log \left (1+\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{b \left (a^2+b^2\right )^{3/2} d^2}+\frac {\left (a f^2\right ) \int \log \left (1+\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{b \left (a^2+b^2\right )^{3/2} d^2} \\ & = \frac {a f (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^2}-\frac {a f (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^2}+\frac {f^2 \log (a+b \sinh (c+d x))}{b \left (a^2+b^2\right ) d^3}-\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2}-\frac {f (e+f x) \cosh (c+d x)}{\left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))}-\frac {\left (a f^2\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {2 b x}{2 a-2 \sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b \left (a^2+b^2\right )^{3/2} d^3}+\frac {\left (a f^2\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {2 b x}{2 a+2 \sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b \left (a^2+b^2\right )^{3/2} d^3} \\ & = \frac {a f (e+f x) \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^2}-\frac {a f (e+f x) \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^2}+\frac {f^2 \log (a+b \sinh (c+d x))}{b \left (a^2+b^2\right ) d^3}+\frac {a f^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^3}-\frac {a f^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \left (a^2+b^2\right )^{3/2} d^3}-\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2}-\frac {f (e+f x) \cosh (c+d x)}{\left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(623\) vs. \(2(306)=612\).
Time = 10.28 (sec) , antiderivative size = 623, normalized size of antiderivative = 2.04 \[ \int \frac {(e+f x)^2 \cosh (c+d x)}{(a+b \sinh (c+d x))^3} \, dx=\frac {f^2 x \coth (c)}{b \left (a^2+b^2\right ) d^2}+\frac {2 e^c f \left (-e^c f x+e^{-c} \left (-1+e^{2 c}\right ) f x-\frac {a e e^{-c} \left (-1+e^{2 c}\right ) \text {arctanh}\left (\frac {a+b e^{c+d x}}{\sqrt {a^2+b^2}}\right )}{\sqrt {a^2+b^2}}+\frac {a e^{-c} \left (-1+e^{2 c}\right ) f \text {arctanh}\left (\frac {a+b e^{c+d x}}{\sqrt {a^2+b^2}}\right )}{\sqrt {a^2+b^2} d}+\frac {1}{2} e^{-c} \left (-1+e^{2 c}\right ) f \left (-2 x+\frac {2 a \arctan \left (\frac {a+b e^{c+d x}}{\sqrt {-a^2-b^2}}\right )}{\sqrt {-a^2-b^2} d}+\frac {\log \left (2 a e^{c+d x}+b \left (-1+e^{2 (c+d x)}\right )\right )}{d}\right )+\frac {a \left (-1+e^{2 c}\right ) f \left (d x \left (\log \left (1+\frac {b e^{2 c+d x}}{a e^c-\sqrt {\left (a^2+b^2\right ) e^{2 c}}}\right )-\log \left (1+\frac {b e^{2 c+d x}}{a e^c+\sqrt {\left (a^2+b^2\right ) e^{2 c}}}\right )\right )+\operatorname {PolyLog}\left (2,-\frac {b e^{2 c+d x}}{a e^c-\sqrt {\left (a^2+b^2\right ) e^{2 c}}}\right )-\operatorname {PolyLog}\left (2,-\frac {b e^{2 c+d x}}{a e^c+\sqrt {\left (a^2+b^2\right ) e^{2 c}}}\right )\right )}{2 d \sqrt {\left (a^2+b^2\right ) e^{2 c}}}\right )}{b \left (a^2+b^2\right ) d^2 \left (-1+e^{2 c}\right )}-\frac {f^2 x \cosh (c) \text {csch}\left (\frac {c}{2}\right ) \text {sech}\left (\frac {c}{2}\right )}{2 b \left (a^2+b^2\right ) d^2}-\frac {(e+f x)^2}{2 b d (a+b \sinh (c+d x))^2}+\frac {\text {csch}\left (\frac {c}{2}\right ) \text {sech}\left (\frac {c}{2}\right ) \left (a e f \cosh (c)+a f^2 x \cosh (c)+b e f \sinh (d x)+b f^2 x \sinh (d x)\right )}{2 b \left (a^2+b^2\right ) d^2 (a+b \sinh (c+d x))} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(804\) vs. \(2(284)=568\).
Time = 16.25 (sec) , antiderivative size = 805, normalized size of antiderivative = 2.63
method | result | size |
risch | \(-\frac {2 \left (a^{2} d \,f^{2} x^{2} {\mathrm e}^{2 d x +2 c}+b^{2} d \,f^{2} x^{2} {\mathrm e}^{2 d x +2 c}+2 a^{2} d e f x \,{\mathrm e}^{2 d x +2 c}-a b \,f^{2} x \,{\mathrm e}^{3 d x +3 c}+2 b^{2} d e f x \,{\mathrm e}^{2 d x +2 c}+a^{2} d \,e^{2} {\mathrm e}^{2 d x +2 c}-2 a^{2} f^{2} x \,{\mathrm e}^{2 d x +2 c}-a b e f \,{\mathrm e}^{3 d x +3 c}+b^{2} d \,e^{2} {\mathrm e}^{2 d x +2 c}+b^{2} f^{2} x \,{\mathrm e}^{2 d x +2 c}-2 a^{2} e f \,{\mathrm e}^{2 d x +2 c}+3 a b \,f^{2} x \,{\mathrm e}^{d x +c}+b^{2} e f \,{\mathrm e}^{2 d x +2 c}+3 a b e f \,{\mathrm e}^{d x +c}-b^{2} f^{2} x -b^{2} e f \right )}{b \,d^{2} \left (b \,{\mathrm e}^{2 d x +2 c}+2 a \,{\mathrm e}^{d x +c}-b \right )^{2} \left (a^{2}+b^{2}\right )}-\frac {2 f^{2} \ln \left ({\mathrm e}^{d x +c}\right )}{\left (a^{2}+b^{2}\right ) d^{3} b}+\frac {f^{2} \ln \left (b \,{\mathrm e}^{2 d x +2 c}+2 a \,{\mathrm e}^{d x +c}-b \right )}{\left (a^{2}+b^{2}\right ) d^{3} b}-\frac {2 f a e \,\operatorname {arctanh}\left (\frac {2 b \,{\mathrm e}^{d x +c}+2 a}{2 \sqrt {a^{2}+b^{2}}}\right )}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{2} b}+\frac {f^{2} a \ln \left (\frac {-b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}-a}{-a +\sqrt {a^{2}+b^{2}}}\right ) x}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{2} b}-\frac {f^{2} a \ln \left (\frac {b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}+a}{a +\sqrt {a^{2}+b^{2}}}\right ) x}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{2} b}+\frac {f^{2} a \ln \left (\frac {-b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}-a}{-a +\sqrt {a^{2}+b^{2}}}\right ) c}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{3} b}-\frac {f^{2} a \ln \left (\frac {b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}+a}{a +\sqrt {a^{2}+b^{2}}}\right ) c}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{3} b}+\frac {f^{2} a \operatorname {dilog}\left (\frac {-b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}-a}{-a +\sqrt {a^{2}+b^{2}}}\right )}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{3} b}-\frac {f^{2} a \operatorname {dilog}\left (\frac {b \,{\mathrm e}^{d x +c}+\sqrt {a^{2}+b^{2}}+a}{a +\sqrt {a^{2}+b^{2}}}\right )}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{3} b}+\frac {2 f^{2} a c \,\operatorname {arctanh}\left (\frac {2 b \,{\mathrm e}^{d x +c}+2 a}{2 \sqrt {a^{2}+b^{2}}}\right )}{\left (a^{2}+b^{2}\right )^{\frac {3}{2}} d^{3} b}\) | \(805\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 5233 vs. \(2 (282) = 564\).
Time = 0.33 (sec) , antiderivative size = 5233, normalized size of antiderivative = 17.10 \[ \int \frac {(e+f x)^2 \cosh (c+d x)}{(a+b \sinh (c+d x))^3} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {(e+f x)^2 \cosh (c+d x)}{(a+b \sinh (c+d x))^3} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {(e+f x)^2 \cosh (c+d x)}{(a+b \sinh (c+d x))^3} \, dx=\int { \frac {{\left (f x + e\right )}^{2} \cosh \left (d x + c\right )}{{\left (b \sinh \left (d x + c\right ) + a\right )}^{3}} \,d x } \]
[In]
[Out]
\[ \int \frac {(e+f x)^2 \cosh (c+d x)}{(a+b \sinh (c+d x))^3} \, dx=\int { \frac {{\left (f x + e\right )}^{2} \cosh \left (d x + c\right )}{{\left (b \sinh \left (d x + c\right ) + a\right )}^{3}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(e+f x)^2 \cosh (c+d x)}{(a+b \sinh (c+d x))^3} \, dx=\int \frac {\mathrm {cosh}\left (c+d\,x\right )\,{\left (e+f\,x\right )}^2}{{\left (a+b\,\mathrm {sinh}\left (c+d\,x\right )\right )}^3} \,d x \]
[In]
[Out]